//
//  PPAlbumPictureInsertionTableViewAlbumsCell.h
//  pickpic
//
//  Created by Jinxiao on 10/2/16.
//  Copyright © 2016 MicroDream. All rights reserved.
//

#import <UIKit/UIKit.h>

@class PPAlbumPictureInsertionTableViewAlbumsCell;

@protocol PPAlbumPictureInsertionTableViewAlbumsCellDelegate <NSObject>

- (void)albumsCell:(PPAlbumPictureInsertionTableViewAlbumsCell *)albumsCell didChangeSelectionState:(BOOL)selected atIndex:(NSInteger)index;

@end

@interface PPAlbumPictureInsertionTableViewAlbumsCell : UITableViewCell

@property (readwrite, nonatomic, weak) id<PPAlbumPictureInsertionTableViewAlbumsCellDelegate> delegate;

+ (CGFloat)heightForNumberOfAlbums:(NSInteger)numberOfAlbums boundingSize:(CGSize)boundingSize;

@property (readwrite, nonatomic, strong) NSArray <PPAlbumModel *> *albums;

@property (readonly) UIButton *addButton;

@end
